#ifndef LINEDATA_H
#define LINEDATA_H

#include "ShapeData.h"

class CLineData : public CShapeData
{
public:
    CLineData();
    CLineData(const double &dStartPosX, const double &dStartPosY, const double &dEndPosX, const double &dEndPosY);
    ~CLineData();
    inline void SetStartPosX(const double &dStartPosX) {m_dStartPosX = dStartPosX;}
    inline void SetStartPosY(const double &dStartPosY) {m_dStartPosY = dStartPosY;}
    inline void SetEndPosX(const double &dEndPosX) {m_dEndPosX = dEndPosX;}
    inline void SetEndPosY(const double &dEndPosY) {m_dEndPosY = dEndPosY;}

    inline const double &GetStartPosX() const {return m_dStartPosX;}
    inline const double &GetStartPosY() const {return m_dStartPosY;}
    inline const double &GetEndPosX() const {return m_dEndPosX;}
    inline const double &GetEndPosY() const {return m_dEndPosY;}


private:
    double m_dStartPosX;
    double m_dStartPosY;
    double m_dEndPosX;
    double m_dEndPosY;

};



#endif // LINEDATA_H
